cmake_minimum_required(VERSION 3.18.1)

project("practicertmp")

add_subdirectory(librtmp)

add_library(
        practicertmp
        SHARED
        native-lib.cpp)
find_library(
        log-lib
        log)
target_link_libraries(
        practicertmp
        ${log-lib}
        rtmp)